package com.yibuBoot;

import org.apache.ibatis.session.SqlSessionFactoryBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * 作者: LCG
 * 日期: 2020/3/8 18:46
 * 描述:
 */
@Configuration
public class YiBuConfig {

    @Bean("executorService")
    public ExecutorService getXiancheng(){

        return Executors.newFixedThreadPool(5);
    }




}
